package com.apps.sdses.flink141.udfs;

import org.apache.flink.table.functions.ScalarFunction;

/**
 * @author jiwei
 * @description 数值类型转字符串
 * @date 2023/6/21 14:50
 */
public class UDFNumber2String extends ScalarFunction {
    public String eval(Integer str) {
        return str.toString();
    }

    public String eval(Long str) {
        return str.toString();
    }

    public String eval(Double str) {
        return str.toString();
    }

    public String eval(Float str) {
        return str.toString();
    }
}
